package cn.tedu.medicalappointmentsystemk.handler;

import cn.tedu.medicalappointmentsystemk.response.ServiceCode;
import lombok.Getter;

@Getter
public class ServiceException extends RuntimeException {
    private final ServiceCode serviceCode;

    public ServiceException(ServiceCode serviceCode,String message) {
        super(message);
        this.serviceCode = serviceCode;
    }
}
